/** \file Slide.h
    \author belot.nicolas
    A slide...
*/

#ifndef SLIDE_H
#define SLIDE_H 1

#include "PlayingEffect.h"
#include "Converter.h"

namespace libtrckr {

class Slide : public PlayingEffect {
/** \class libtrckr::Slide 
	\brief a slide */
	public:
		Slide();
		Slide(const Slide&);
		~Slide();

		void Tune(DynArray<double>);
		
		Buffer& apply(Buffer&,int*);
	
	private:
	double speed, elapsed, duration;
	double max_ratio;
	Converter c;

};

}


#endif

